import Vue from 'vue'
import Vuex from 'vuex'
import homeStore from './homeStore/homeStore'
import searchStore from './searchStore/searchStore'
import detailStore from './detailStore/detailStore'
import shopcartStore from './shopcartStore/shopcartStore'
import registerStore from './registerStore/registerStore'
import tradeStore from './tradeStore/tradeStore'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    homeStore,
    searchStore,
    detailStore,
    shopcartStore,
    registerStore,
    tradeStore
  }
})
